package com.neusoft.shopingapi.service;

import com.neusoft.shopingapi.dao.TypeDAOImpl;
import com.neusoft.shopingapi.entity.TypeEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Typeservice {
    @Autowired
    private TypeDAOImpl dao;
    public List<TypeEntity> qureyAll(){
        return dao.qureyAll();
    }
}
